#ifndef _SHELL_RANKINFO_BEAN_H_
#define _SHELL_RANKINFO_BEAN_H_

#include "Beans.h"
#include "Message.h"
using namespace std;
class RankInfo : public Bean
{
	public:
	RankInfo();
	~RankInfo();
	void reset();
	RankInfo* clone();
	//玩家id
	int64 playerId;
	//名次
	int8 place;
	//玩家等级
	int8 lv;
	//玩家姓名
	string playerName;
	//等级||战力||金钱
	int32 number;
	//所属门派
	int8 playerType;
	//是否在线0否1是
	int8 isOnline;
	
	bool read_from(ByteBuf& buf);
	bool write_to(ByteBuf& buf);
};

#endif
